package com.atguigu07.encapsulation.ex3;

public class Employee {
    private String name;
    private  String sex;
    private int age;
    private  String tel;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

   public String getInfor(){
        return name+sex+tel+age;
   }
}
